<ul class="sidebar-menu">
              <li class="sub-menu active">
                  <a class="" href="{$smarty.const.meta}?act={$mn.code}">
                      <i class="icon-dashboard"></i>
                      <span>Trang chủ</span>
                  </a>
              </li>
{foreach from=$menu[0] item=mn}
              <li class="sub-menu">
                  <a href="javascript:;" class="">
                      <i class="{$mn.icon}"></i>
                      <span>{$mn.name}</span>
                      <span class="arrow"></span>
                  </a>
                  <ul class="sub">
					{foreach from=$menu[{$mn.id}] item=sub1_mn}
                      <li><a class="" href="{$smarty.const.meta}?act={$sub1_mn.code}">{$sub1_mn.name}</a></li>
					{/foreach}
                  </ul>
              </li>
{/foreach}
          </ul>